package it.polimi.TravelDream.web.utilities;

import it.polimi.TravelDream.ejb.dtos.RoomDTO;

import java.util.ArrayList;
import java.util.List;

public class RoomContainer {
	private String hotelName;
	private String hotelCity;
	private List<RoomDTO> hotelRoomList;
	
	public RoomContainer(){
		this.hotelRoomList = new ArrayList<RoomDTO>();
	}

	public String getHotelName() {
		return hotelName;
	}

	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	public List<RoomDTO> getHotelRoomList() {
		return hotelRoomList;
	}

	public void setHotelRoomList(List<RoomDTO> hotelRoomList) {
		this.hotelRoomList = hotelRoomList;
	}
	
	public String getHotelCity() {
		return hotelCity;
	}

	public void setHotelCity(String hotelCity) {
		this.hotelCity = hotelCity;
	}

	public void addElementToRoomList(RoomDTO roomDTO){
		this.hotelRoomList.add(roomDTO);
	}
}
